<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
<title><?php echo CHtml::encode($this->getPageTitle()); ?></title>

    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="description" content="<?php echo CHtml::encode($this->getMetaDescription()); ?>" />
    <meta name="keywords" content="<?php echo CHtml::encode($this->getMetaKeywords()); ?>" />
    <meta name="robots" content="<?php echo ($this->noIndex===true ? 'noindex,follow' : 'index,follow'); ?>" />

    <?php if(!empty($this->openGraph)): ?>
        <?php if(!empty($this->openGraph['title'])): ?><meta property="og:title" content="<?php echo $this->openGraph['title']; ?>"/><?php endif;?>
        <?php if(!empty($this->openGraph['type'])): ?><meta property="og:type" content="<?php echo $this->openGraph['type']; ?>"/><?php endif;?>
        <?php if(!empty($this->openGraph['image'])): ?><meta property="og:image" content="<?php echo $this->openGraph['image']; ?>"/><?php endif;?>
        <?php if(!empty($this->openGraph['description'])): ?><meta property="og:description" content="<?php echo $this->openGraph['description']; ?>"/><?php endif;?>
    <?php endif; ?>
        
<link rel="stylesheet" type="text/css" media="screen" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/smoothness/jquery-ui.css">
<?php Yii::app()->getClientScript()->registerCssFile(Yii::app()->theme->baseUrl."/css/admin_style.css");?>

<?php Yii::app()->getClientScript()->registerScriptFile("http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js");?>

<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/spinner/ui.spinner.js");?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/spinner/jquery.mousewheel.js",2);?>

<?php Yii::app()->getClientScript()->registerScriptFile("http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js");?>

<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/charts/excanvas.min.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/charts/jquery.flot.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/charts/jquery.flot.orderBars.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/charts/jquery.flot.pie.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/charts/jquery.flot.resize.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/charts/jquery.sparkline.min.js",2);?>

<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/forms/uniform.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/forms/jquery.cleditor.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/forms/jquery.validationEngine-zh_CN.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/forms/jquery.validationEngine.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/forms/jquery.tagsinput.min.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/forms/autogrowtextarea.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/forms/jquery.maskedinput.min.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/forms/jquery.dualListBox.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/forms/jquery.inputlimiter.min.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/forms/chosen.jquery.min.js",2);?>

<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/wizard/jquery.form.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/wizard/jquery.validate.min.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/wizard/jquery.form.wizard.js",2);?>

<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/uploader/plupload.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/uploader/plupload.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/uploader/plupload.html4.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/uploader/jquery.plupload.queue.js",2);?>

<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/tables/datatable.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/tables/tablesort.min.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/tables/resizable.min.js",2);?>

<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/ui/jquery.tipsy.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/ui/jquery.collapsible.min.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/ui/jquery.prettyPhoto.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/ui/jquery.progress.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/ui/jquery.timeentry.min.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/ui/jquery.colorpicker.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/ui/jquery.jgrowl.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/ui/jquery.breadcrumbs.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/ui/jquery.sourcerer.js",2);?>

<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/calendar.min.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/elfinder.min.js",2);?>
<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/plugins/elfinder.zh_CN.js",2);?>

<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/custom.js",2);?>

<?php Yii::app()->getClientScript()->registerScriptFile(Yii::app()->theme->baseUrl."/js/charts/chart.js",2);?>
</head>
